import Request  from "@/util/request";
export default {
    //查所有学生
    findAllStudents(){
        return Request({
            url:"/student/list",
            method:"get"
        })
    },
    //分页查询
    findByPage(page,pageSize){
        return Request({
            url:`/student/findByPage/${page}/${pageSize}`,
            method:"get"
        })
    },
    //条件查询加上分页
    searchStudent(page,pageSize,data){
        return Request({
            url:`/student/searchStudent/${page}/${pageSize}`,
            method:"post",
            data
        })
    }

}